<?php
	class MY_Model extends CI_Model{
		
		public $limit;
		public $record_per_page = 25;
		public $total_row;
		
		public function __construct(){
			$this->load->database();			
		}
		
		public function pager($num){
			$this->limit			= $num;
		}
		
		public function set_record_per_page($num=FALSE){
			if($num!=FALSE)
				$this->record_per_page = $num;
		}
		
		public function get_record_per_page(){
			return $this->record_per_page;
		}
		
	}
?>